Stored Procedures [dbo].[BAEFieldDesignGetAllBySectionName]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@SectionNamevarchar(30)30
SQL Script
create procedure [dbo].[BAEFieldDesignGetAllBySectionName] @SectionName as
varchar(30)
    AS
    SELECT *
    FROM FieldDesign, FieldDesignSectionLookup, FieldSection
    WHERE FieldDesign.TableName = FieldDesignSectionLookup.TableName AND FieldDesign.FieldName = FieldDesignSectionLookup.FieldName AND FieldDesignSectionLookup.FieldSectionId = FieldSection.FieldSectionId AND FieldSection.SectionName = @SectionName
    ORDER BY FieldDesignSectionLookup.SortOrder asc

GO
Uses